
#include <iostream>

int main()
{
    float weight, height, bmi;
    std::cout << "Enter weight(kg) adn height(m): " << std::endl;
    std::cin >> weight >> height;
    bmi = weight / (height * height);
    std::cout << "BMI: " << bmi << std::endl;
    if (bmi < 18.5)
        std::cout << "过轻" << std::endl;
    else if (bmi < 25)
        std::cout << "正常" << std::endl;
    else
        std::cout << "肥胖" << std::endl;
    return 0;
}
